<template>
  <div id='login'>
    <div class='login-main'>
      <img
        src="/image/login_bg_1.dfe3d5ed.png"
        class='login-img1'>
      <img
        src="/image/login_bg_0.100e2602.png"
        class='login-img2'>
      <v-from
        class='login-from'>
      </v-from>
    </div>
  </div>
</template>

<script>
export default {
  name: 'login',
  components: {
    'v-from': () => import('../components/Form'),
  },
}
</script>

<style lang='less'>
@width: 78.75rem;
@height: 38.75rem;
#login {
  width: 100%;
  height: 100%;
  background-image: url(/image/login_background.aac5fe6d.png);
  background-size: cover;
  position: relative;
  overflow: hidden;
  .login-main {
    width: @width;
    height: @height;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -@width / 2;
    margin-top: -@height / 2;
    border-radius: 10px;
    box-shadow: 0 0 50px #27265c;
    .login-img1 {
      width: auto;
      height: auto;
      position: absolute;
      bottom: 0;
    }
    .login-img2 {
      width: auto;
      height: auto;
      position: absolute;
      right: 0;
    }
    .login-from {
      position: absolute;
      right: 100px;
      top: 50%;
      margin-top: -170px;
    }
  }
}
</style>